package com.pjj.projectservice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.sql.Timestamp;

/**
 * @author 76004
 * @apiNote 建立用户和项目的关联
 * @date 2023/2/16 17:50
 */
@Data
@TableName(value = "team")
public class Team {
    @TableId(value = "id",type = IdType.AUTO)
    Long id;

    @TableField(value = "user_id")
    String userId;

    @TableField(value = "project_id")
    Long projectId;

    Timestamp timestamp;
}
